package com.wyiot.pet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wyiot.pet.model.entity.OrderDO;
import com.wyiot.pet.model.entity.WayBillDO;
import com.wyiot.pet.model.vo.WaybillDetailVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author yly
 * @since 2022年04月01日
 */
@Mapper
public interface WayBillMapper extends BaseMapper<WayBillDO> {

    OrderDO selectOrderByWayBillId(@Param("id") Long wayBillId);

    WaybillDetailVO selectWaybillDetailByWaybillId(@Param("id")Long wayBillId);
}
